package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:流水号 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:RuanYangFa
 * 创建时间:2015-01-20 14:53:44
 */
 @ITable(name="glSwift",code="skg_gl_swift")
public class GlSwiftTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*主键*/
	@IField(name="name",column="name_")
	protected String  name; 		/*名称*/
	@IField(name="key",column="key_")
	protected String  key; 		/*业务键*/
	@IField(name="regulation",column="regulation_")
	protected String  regulation; 		/*规则*/
	@IField(name="genPeriod",column="gen_period_")
	protected String  genPeriod; 		/*生成周期。day=每日（默认）；week=每周；month=每月；quarter=季度；year=每年*/
	@IField(name="len",column="len_")
	protected Integer  len; 		/*流水号长度（即 NO 部分）*/
	@IField(name="curDate",column="cur_date_")
	protected String  curDate; 		/*当前日期*/
	@IField(name="initValue",column="init_value_")
	protected Integer  initValue; 		/*初始值*/
	@IField(name="curValue",column="cur_value_")
	protected Integer  curValue; 		/*当前值*/
	@IField(name="step",column="step_")
	protected Integer  step; 		/*步长*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 主键
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 业务键
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setRegulation(String regulation) 
	{
		this.regulation = regulation;
	}
	/**
	 * 返回 规则
	 * @return
	 */
	public String getRegulation() 
	{
		return this.regulation;
	}
	public void setGenPeriod(String genPeriod) 
	{
		this.genPeriod = genPeriod;
	}
	/**
	 * 返回 生成周期。day=每日（默认）；week=每周；month=每月；quarter=季度；year=每年
	 * @return
	 */
	public String getGenPeriod() 
	{
		return this.genPeriod;
	}
	public void setLen(Integer len) 
	{
		this.len = len;
	}
	/**
	 * 返回 流水号长度（即 NO 部分）
	 * @return
	 */
	public Integer getLen() 
	{
		return this.len;
	}
	public void setCurDate(String curDate) 
	{
		this.curDate = curDate;
	}
	/**
	 * 返回 当前日期
	 * @return
	 */
	public String getCurDate() 
	{
		return this.curDate;
	}
	public void setInitValue(Integer initValue) 
	{
		this.initValue = initValue;
	}
	/**
	 * 返回 初始值
	 * @return
	 */
	public Integer getInitValue() 
	{
		return this.initValue;
	}
	public void setCurValue(Integer curValue) 
	{
		this.curValue = curValue;
	}
	/**
	 * 返回 当前值
	 * @return
	 */
	public Integer getCurValue() 
	{
		return this.curValue;
	}
	public void setStep(Integer step) 
	{
		this.step = step;
	}
	/**
	 * 返回 步长
	 * @return
	 */
	public Integer getStep() 
	{
		return this.step;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("key", this.key) 
		.append("regulation", this.regulation) 
		.append("genPeriod", this.genPeriod) 
		.append("len", this.len) 
		.append("curDate", this.curDate) 
		.append("initValue", this.initValue) 
		.append("curValue", this.curValue) 
		.append("step", this.step) 
		.toString();
	}
}